<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人中心 - 影享圈</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: #000;
            color: white;
            height: 100vh;
            padding-top: 44px; /* Status bar height */
        }
        .bg-netflix {
            background-color: #E50914;
        }
        .text-netflix {
            color: #E50914;
        }
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.9);
            height: 83px;
            border-top: 1px solid #333;
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding-bottom: env(safe-area-inset-bottom);
        }
        .bottom-nav a {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #999;
            font-size: 10px;
            text-decoration: none;
        }
        .bottom-nav a i {
            font-size: 22px;
            margin-bottom: 4px;
        }
        .bottom-nav a.active {
            color: white;
        }
        .collection-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }
    </style>
</head>
<body>
    <div class="relative min-h-screen pb-20">
        <!-- 顶部导航 -->
        <div class="fixed top-0 left-0 right-0 z-50 px-4 pt-12 pb-2 flex items-center justify-between bg-black bg-opacity-50">
            <div class="flex items-center">
                <span class="text-xl font-bold">我的</span>
            </div>
            <div class="flex items-center space-x-4">
                <a href="#"><i class="fas fa-cog text-white text-xl"></i></a>
            </div>
        </div>

        <!-- 内容区域 -->
        <div class="pb-24">
            <!-- 个人信息头部 -->
            <div class="relative">
                <div class="h-40 w-full bg-gradient-to-r from-red-800 to-purple-900"></div>
                <div class="absolute left-1/2 transform -translate-x-1/2 -bottom-12">
                    <div class="w-24 h-24 rounded-full border-4 border-black overflow-hidden">
                        <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="用户头像" class="w-full h-full object-cover">
                    </div>
                </div>
            </div>
            
            <div class="mt-16 text-center mb-6">
                <h2 class="text-xl font-bold">阿明</h2>
                <p class="text-gray-400 text-sm">@aming2023</p>
                <div class="flex justify-center space-x-6 mt-3">
                    <div class="text-center">
                        <p class="font-bold">286</p>
                        <p class="text-xs text-gray-400">观影</p>
                    </div>
                    <div class="text-center">
                        <p class="font-bold">125</p>
                        <p class="text-xs text-gray-400">关注</p>
                    </div>
                    <div class="text-center">
                        <p class="font-bold">843</p>
                        <p class="text-xs text-gray-400">粉丝</p>
                    </div>
                </div>
                <button class="mt-4 bg-netflix text-white px-4 py-1 rounded-full text-sm">
                    编辑资料
                </button>
            </div>

            <!-- 会员信息 -->
            <div class="px-4 mb-6">
                <div class="bg-gradient-to-r from-yellow-900 to-yellow-700 rounded-xl p-4 flex justify-between items-center">
                    <div>
                        <span class="flex items-center">
                            <i class="fas fa-crown text-yellow-300 mr-2"></i>
                            <span class="font-bold">黄金会员</span>
                        </span>
                        <p class="text-xs mt-1">有效期至2025年12月31日</p>
                    </div>
                    <button class="bg-yellow-300 text-black font-bold text-sm px-3 py-1 rounded-full">
                        续费
                    </button>
                </div>
            </div>

            <!-- 功能入口 -->
            <div class="px-4 mb-6">
                <div class="grid grid-cols-4 gap-3">
                    <a href="#" class="flex flex-col items-center">
                        <div class="w-14 h-14 rounded-full bg-gray-800 flex items-center justify-center mb-1">
                            <i class="fas fa-history text-white"></i>
                        </div>
                        <span class="text-xs">观看历史</span>
                    </a>
                    <a href="#" class="flex flex-col items-center">
                        <div class="w-14 h-14 rounded-full bg-gray-800 flex items-center justify-center mb-1">
                            <i class="fas fa-heart text-white"></i>
                        </div>
                        <span class="text-xs">我的收藏</span>
                    </a>
                    <a href="#" class="flex flex-col items-center">
                        <div class="w-14 h-14 rounded-full bg-gray-800 flex items-center justify-center mb-1">
                            <i class="fas fa-download text-white"></i>
                        </div>
                        <span class="text-xs">离线下载</span>
                    </a>
                    <a href="#" class="flex flex-col items-center">
                        <div class="w-14 h-14 rounded-full bg-gray-800 flex items-center justify-center mb-1">
                            <i class="fas fa-calendar-check text-white"></i>
                        </div>
                        <span class="text-xs">观影打卡</span>
                    </a>
                </div>
            </div>

            <!-- 片单收藏 -->
            <div class="px-4 mb-6">
                <div class="flex items-center justify-between mb-3">
                    <h3 class="text-lg font-bold">我的片单</h3>
                    <a href="#" class="text-sm text-gray-400">查看全部</a>
                </div>
                <div class="collection-grid">
                    <div class="mb-2">
                        <div class="rounded overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1626814026160-2237a95fc5a0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80" alt="Content" class="w-full aspect-[2/3] object-cover">
                        </div>
                        <p class="text-xs mt-1 truncate">流浪地球2</p>
                    </div>
                    <div class="mb-2">
                        <div class="rounded overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1536440136628-849c177e76a1?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1025&q=80" alt="Content" class="w-full aspect-[2/3] object-cover">
                        </div>
                        <p class="text-xs mt-1 truncate">三体</p>
                    </div>
                    <div class="mb-2">
                        <div class="rounded overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1533613220915-609f661a6fe1?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1964&q=80" alt="Content" class="w-full aspect-[2/3] object-cover">
                        </div>
                        <p class="text-xs mt-1 truncate">满江红</p>
                    </div>
                    <div class="mb-2">
                        <div class="rounded overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1594908900066-3f47337549d8?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80" alt="Content" class="w-full aspect-[2/3] object-cover">
                        </div>
                        <p class="text-xs mt-1 truncate">红海行动</p>
                    </div>
                    <div class="mb-2">
                        <div class="rounded overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1618172193622-ae2d025f4032?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1964&q=80" alt="Content" class="w-full aspect-[2/3] object-cover">
                        </div>
                        <p class="text-xs mt-1 truncate">他是谁</p>
                    </div>
                    <div class="mb-2">
                        <div class="rounded overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1611523658822-385aa008324c?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1964&q=80" alt="Content" class="w-full aspect-[2/3] object-cover">
                        </div>
                        <p class="text-xs mt-1 truncate">长津湖</p>
                    </div>
                </div>
            </div>

            <!-- 动态发布 -->
            <div class="px-4 mb-6">
                <div class="flex items-center justify-between mb-3">
                    <h3 class="text-lg font-bold">我的动态</h3>
                    <a href="#" class="text-sm text-gray-400">查看全部</a>
                </div>
                <div class="space-y-4">
                    <div class="bg-gray-900 rounded-xl p-4">
                        <div class="flex items-start">
                            <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="用户头像" class="w-10 h-10 rounded-full mr-3">
                            <div class="flex-1">
                                <div class="flex items-center mb-1">
                                    <p class="font-medium">阿明</p>
                                    <p class="text-xs text-gray-400 ml-2">2天前</p>
                                </div>
                                <p class="mb-3">我的本周观影打卡第6天！今天终于看完了《满江红》，沈腾的演技真的提升很大，期待他更多的作品。#观影打卡 #满江红</p>
                                <div class="rounded-lg overflow-hidden mb-3">
                                    <img src="https://images.unsplash.com/photo-1533613220915-609f661a6fe1?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1964&q=80" alt="满江红" class="w-full h-32 object-cover">
                                </div>
                                <div class="flex text-sm">
                                    <span class="flex items-center mr-4">
                                        <i class="fas fa-heart mr-1 text-netflix"></i>
                                        <span>86</span>
                                    </span>
                                    <span class="flex items-center mr-4">
                                        <i class="far fa-comment mr-1 text-gray-400"></i>
                                        <span class="text-gray-400">14</span>
                                    </span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 其他功能 -->
            <div class="px-4 mb-6">
                <div class="space-y-4">
                    <a href="#" class="bg-gray-900 rounded-xl p-4 flex justify-between items-center">
                        <div class="flex items-center">
                            <div class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center mr-3">
                                <i class="fas fa-wallet text-gray-400"></i>
                            </div>
                            <span>我的钱包</span>
                        </div>
                        <i class="fas fa-chevron-right text-gray-500"></i>
                    </a>
                    <a href="#" class="bg-gray-900 rounded-xl p-4 flex justify-between items-center">
                        <div class="flex items-center">
                            <div class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center mr-3">
                                <i class="fas fa-ticket-alt text-gray-400"></i>
                            </div>
                            <span>优惠券</span>
                        </div>
                        <div class="flex items-center">
                            <span class="text-sm text-netflix mr-2">3张可用</span>
                            <i class="fas fa-chevron-right text-gray-500"></i>
                        </div>
                    </a>
                    <a href="#" class="bg-gray-900 rounded-xl p-4 flex justify-between items-center">
                        <div class="flex items-center">
                            <div class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center mr-3">
                                <i class="fas fa-headset text-gray-400"></i>
                            </div>
                            <span>客服中心</span>
                        </div>
                        <i class="fas fa-chevron-right text-gray-500"></i>
                    </a>
                    <a href="#" class="bg-gray-900 rounded-xl p-4 flex justify-between items-center">
                        <div class="flex items-center">
                            <div class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center mr-3">
                                <i class="fas fa-cog text-gray-400"></i>
                            </div>
                            <span>设置</span>
                        </div>
                        <i class="fas fa-chevron-right text-gray-500"></i>
                    </a>
                </div>
            </div>
        </div>

        <!-- 底部导航 -->
        <div class="bottom-nav">
            <a href="#">
                <i class="fas fa-home"></i>
                <span>首页</span>
            </a>
            <a href="#">
                <i class="fas fa-compass"></i>
                <span>探索</span>
            </a>
            <a href="#">
                <i class="fas fa-users"></i>
                <span>社交</span>
            </a>
            <a href="#">
                <i class="fas fa-download"></i>
                <span>下载</span>
            </a>
            <a href="#" class="active">
                <i class="fas fa-user"></i>
                <span>我的</span>
            </a>
        </div>
    </div>
</body>
</html>
